﻿<?php
session_start();
require_once("basic.class.php");
if(isset($_POST['sub'])){
	$vote = new Vote();
    $flag =	$vote->login($_POST['user_account']);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" /><!--如果是IE8时强制以IE7显示-->
<meta name="keywords" content=""><!--SEO关键字-->
<meta name="description" content=""><!--SEO描述-->
<link rel="shortcut icon" type="image/ico" href="images/favicon.ico"><!--选项卡图标-->
<title>湖南农业大学工学院09汽车一班班委竞选投票活动</title>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<!--[if ie]>
<link rel="stylesheet" href="css/ie.css">
<script type="text/javascript" src="js/DD_belatedPNG.js" ></script>
<script type="text/javascript">
DD_belatedPNG.fix('.png');/*在需要png透明的元素里面加上.png样式即可（class="png"）*/
</script>
<![endif]-->
</head>
<body>

	<div class="header h100"><!-- header -->
		<div class="w960 bc">
			<p style="font-size:40px">湖南农业大学工学院09汽车一班班委竞选投票活动</p>
			<ul class="header_function fr mr10 f18 tc">
			</ul>
		</div>
	</div><!-- end_header -->
	
	<div class="login_main mt100 bc oh"><!-- login_main -->
		<form action='' method="post"><!-- main -->
			<?php if(isset($flag)): echo $flag; endif;?>
			<div class="pr">
				<label for="" class="pa login_tip js_tips b4">你的学号</label>
				<input type="text" name="user_account" id="" class="login_email js_inputBox" autocomplete="off" />
			</div>
				<input type="submit" value="" name="sub" class="login_btn img png dib" />
			</div>
		</form><!-- end_main -->
		
	</div><!-- login_main -->
	
</body>
</html>
